package pers.litao.bit.commons.entities.order;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author 李涛
 * @date 2020-12-20 14:38
 */
@Data
@Accessors(chain = true)
@TableName("t_retail_week")
public class RetailWeekEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Long id;

    private String strTime;

    private Long time;
    /**
     * 购买商品花费的钱
     */
    private BigDecimal buyMoney;
    /**
     * 出售商品赚的前
     */
    private BigDecimal sellMoney;

    private Long userId;
}
